package ocean.chinacraft.common.world.block.tree;

import ocean.chinacraft.common.world.gen.features.ModConfiguredFeatures;
import net.minecraft.block.trees.Tree;
import net.minecraft.world.gen.feature.BaseTreeFeatureConfig;
import net.minecraft.world.gen.feature.ConfiguredFeature;

import javax.annotation.Nullable;
import java.util.Random;

/**
 * 桑树
 *
 * @author zhang
 * @since 2021/11/29
 */
public class MulberryTree extends Tree {

    @Nullable
    @Override
    protected ConfiguredFeature<BaseTreeFeatureConfig, ?> getConfiguredFeature(Random random, boolean largeHive) {
        return ModConfiguredFeatures.MULBERRY_TREE;
    }
}